package com.example.a12138.myapplication.Activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.dou361.ijkplayer.widget.PlayerView;
import com.example.a12138.myapplication.R;


public class PlayerActivity extends AppCompatActivity {
    private PlayerView player;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_player);

        player=new PlayerView(this).setPlaySource("https://www.bilibili.com/video/av48348061?from=search&seid=13998954743351184578");
    }
}

